<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>originalPage</title>
</head>
<body th:onload="redirectFn([[${userId}]])">
<!--<form id="form" th:action="${redirect_page}" method="get" style="display:none">-->
<!--</form>-->
<script>
    // window.addEventListener("load", (event) => {
    //     window.location.href = 'localhost:5173/user/${userId}'
    // });
    function redirectFn(userId) {
        window.location.href = `http://localhost:5173/user/${userId}`
    }
</script>
</body>
</html>
